﻿<UserControl x:Class="EventWindowHandler.Plugin.EventCallInfoView"
             xmlns:y="clr-namespace:EventWindowHandler.Plugin"  
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <Rectangle Fill="DarkGreen" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="1"/>
        <WrapPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Margin="0,4,0,0">
            <TextBlock FontSize="9" FontWeight="Bold" Text="Prop: " Width="Auto" Visibility="{Binding PropChangedVisibility}"/>
            <TextBlock FontSize="9" Text="{Binding PropertyName}" Width="Auto" Visibility="{Binding PropChangedVisibility}"/>
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Value: " Width="Auto" Visibility="{Binding PropChangedVisibility}"/>
            <TextBlock FontSize="9" Text="{Binding PropertyValueAtTime}" Width="Auto" Visibility="{Binding PropChangedVisibility}"/>
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Event Args Type: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding EventArgsTypeName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Source: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding ObjectInstanceName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="SourceType: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding ObjectInstanceTypeName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Target Name: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding TargetName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Target Type: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding TargetTypeName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>

            <TextBlock FontSize="9" FontWeight="Bold" Text="Target Method: " Width="Auto" />
            <TextBlock FontSize="9" Text="{Binding TargetMethodName}" Width="Auto" />
            <TextBlock Text="  " Width="Auto"/>
        </WrapPanel>
    </Grid>
</UserControl>
